<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN">
<head>
<link rel="stylesheet" href="<%=path%>/css/manager/news3.css">
<script type="text/javascript" src="<%=path%>/js/manager/jquery-1.8.2.js"></script>
<script type="text/javascript" src="<%=path%>/js/jedate/jedate.js"></script>
<!-- ueditor编辑器 -->
<script type="text/javascript" charset="utf-8" src="/forumsystem/js/utf8-jsp/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/forumsystem/js/utf8-jsp/ueditor.all.min.js"> </script>
<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
<script type="text/javascript" charset="utf-8" src="/forumsystem/js/utf8-jsp/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript">
	//实例化编辑器
	 var ue = UE.getEditor('editor');
	//对编辑器的操作最好在编辑器ready之后再做
	 ue.ready(function() {
	     //设置编辑器的内容
	     ue.setContent($("#newsContent").val());
	     //获取html内容，返回: <p>hello</p>
	     var html = ue.getContent();
	      
	 });
	<%--  <script id="editor" type="text/plain" style="width:1024px;height:500px;"></script>
	 <input type="hidden" id="newsContent"  name="newsContent" value='${news.newsContent}'/> --%>
</script>
<title>查看学术成果</title>
</head>


<body>
	<!--
			页面重复使用表
			新闻，要闻，公告通知；
			论坛管理：理事动态；
		-->
		<!--
        	作者：offline
        	时间：2016-12-22
        	描述：新闻内容头部（统一，部分二级字体颜色单独修改）
        -->
		<div class="news_div1">
			<div class="news_div1_div1">学术成果管理</div>
			<div class="news_div1_div2">
				
			</div>
		</div>
		<!--
        	作者：offline
        	时间：2016-12-22
        	描述：查看新闻（内容）
        -->
        <div class="news3_div2">
        <form action="" id="sform" method="post">
			<input type="hidden" name="condition" value="${news.condition}" /> <input
				type="hidden" id="pageIndex" name="pageInfo.pageIndex"
				value="${news.pageInfo.pageIndex}" /> <input type="hidden"
				id="pageSize" name="pageInfo.pageSize" value="${news.pageInfo.pageSize}" />
			<input type="hidden" id="newsType" name="newsType"
				value="${news.newsType}" /> <input type="hidden" id="markManage"
				name="markManage" value="3" /> <input type="hidden"  name="newsId"
				value="${news.newsId}" />
        	<div class="news3_div2_div1">
        		<span class="news3_div2_div1_sp1">学术成果详情</span>
        	</div>
        	<div class="news3_div2_div2">
        		${news.newsTheme}
        		<input class="news3_div2_div2_in1" type="button" onclick="toManage()"/>
        	</div>
        	<div class="news3_div2_div3">发布时间：	<fmt:formatDate value="${news.newsPublisTime}"
								pattern="yyyy-MM-dd HH:mm:ss" /></div>
        	<div class="news3_div2_div4">
        		${news.newsContent}
        	</div>
        	<div class="news3_div2_in1s">
        		<input class="news3_div2_in1" type="button" value="返回列表" onclick="back()" />
        	</div>
        	</form>
        </div>
</body>
<script type="text/javascript">
//提交验证
function toManage(){
	
	$("#markManage").val(2);
	$("#sform").attr("action", "tonewsmange.htm");
	$("#sform").submit();
}
//返回事件
function back(){
	$("#markManage").val(0);
	$("#sform").attr("action", "newslist.htm");
	$("#sform").submit();
}

</script>
</html>

